package top.lixunda.ecommerce.server.good.api.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import top.lixunda.commerce.common.core.entity.MessageObject;
import top.lixunda.ecommerce.server.good.api.entity.vo.OrderApplyWithOrderVO;

/**
 * 订单申请操作接口
 *
 * @author lixunda
 * @version time:2020/3/3 16:22
 */
@SuppressWarnings("unused")
@Api("订单申请操作接口")
@RequestMapping("/order_apply")
public interface IOrderApplyController {

    /**
     * 店铺调用，根据订单id查询未处理的订单申请数据
     *
     * @param id 订单编号
     * @return 返回申请数据
     */
    @ApiOperation("店铺调用，根据订单id查询未处理的订单申请数据")
    @GetMapping("queryOrderApplyByOrderId")
    MessageObject<OrderApplyWithOrderVO> queryOrderApplyByOrderId(@RequestParam("id") Integer id);

}
